<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>新闻管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../../../../component/elementUI/index.css">
    <link rel="stylesheet" href="../../../../style/index.css">
    <link rel="stylesheet" href="../../../../style/wangeditor.css">
    <style>
        .editor_preview{
            height: 581px; overflow-y: scroll; border: 1px solid #ccc;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak class="minWidth">
        <el-form :model="form" :rules="rules" ref="contract" inline-message="true" style="width: 100%">
            <div class="table_titel">
                <div class="titel">修改公司简介</div>
            </div>
            <el-descriptions :column="1" border size="small">
                <el-descriptions-item label="公司简介说明">
                    <el-form-item prop="Company_Profile_Name">
                        <el-input v-model.trim="form.Company_Profile_Name" placeholder="请输入公司简介说明"></el-input>
                    </el-form-item>
                </el-descriptions-item>
            </el-descriptions>
            <el-form-item prop="Company_Profile_Main">
                <el-row :gutter="20">
                    <el-col :span="12">
                        <div class="table_titel">
                            <div class="titel">公司简介内容</div>
                        </div>
                        <yl-text-editor v-model="form.Company_Profile_Main" placeholder="在此处填写公司简介内容..."></yl-text-editor>
                    </el-col>
                    <el-col :span="12">
                        <div class="table_titel">
                            <div class="titel">简介预览</div>
                        </div>
                        <div class="editor_preview" v-html="form.Company_Profile_Main"></div>
                    </el-col>
                </el-row>   
            </el-form-item>
            <el-form-item class="form-operation">
                <el-button @click="window.history.back()">返回</el-button>
                <el-button @click="resetForm('contract')">重置</el-button>
                <el-button type="primary" :loading="loading" @click="submitForm('contract')">提交</el-button>
            </el-form-item>
        </el-form>
    </div>
    <script type="text/javascript" src="../../../../utils/wangeditor.js"></script>
    <script type="text/javascript" src="../../../../utils/jquery-3.6.0.min.js"></script>
    <script type="text/javascript" src="../../../../utils/jquery.cookie.js"></script>
    <script type="text/javascript" src="../../../../utils/vue.min.js"></script>
    <script type="text/javascript" src="../../../../component/elementUI/index.js"></script>
    <script type="text/javascript" src="../../../../component/component.js"></script>
    <script type="text/javascript" src="../../../../utils/utils.js"></script>
    <script type="text/javascript" src="js/Edit.js"></script>
</body>

</html>